@echo off

echo Building Hebrew .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_he.inf

echo Building English .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_en.inf

echo Building French .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_fr.inf

echo Building German .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_de.inf

echo Building Dutch .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_nl.inf

echo Building Greek .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_el.inf

echo Building Spanish .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_es.inf

echo Building Danish .cab file
"C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools\cabwiz.exe" FridayShopping_da.inf

echo Running szSetup
ezsetup -l english -i setup_en.ini -r readme.txt -e eula.txt -o FridayShopping_en.exe
ezsetup -l english -i setup_he.ini -r readme.txt -e eula.txt -o FridayShopping_he.exe
ezsetup -l french  -i setup_fr.ini -r readme.txt -e eula.txt -o FridayShopping_fr.exe
ezsetup -l german  -i setup_de.ini -r readme.txt -e eula.txt -o FridayShopping_de.exe
ezsetup -l english -i setup_nl.ini -r readme.txt -e eula.txt -o FridayShopping_nl.exe
ezsetup -l spanish -i setup_es.ini -r readme.txt -e eula.txt -o FridayShopping_es.exe
ezsetup -l english -i setup_el.ini -r readme.txt -e eula.txt -o FridayShopping_el.exe
ezsetup -l english -i setup_da.ini -r readme.txt -e eula.txt -o FridayShopping_da.exe

echo Deleting .dat files
del *.dat